﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace agvcontroller.Control
{
    public class CHost
    {
        public int ID
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public bool Use
        {
            get;
            set;
        }
    }

    public class CHostDic : Dictionary<int, CHost>
    {
        private static CHostDic uniqueInstance;

        public static CHostDic getInstance()
        {
            if (uniqueInstance == null)
            {
                uniqueInstance = new CHostDic();
            }
            return uniqueInstance;
        }
    }

}
